package dao;

import java.util.List;

import entity.Group_Menu;
import entity.RoleGroup;

public interface RoleGroup_dao {

	public boolean add_RoleGroup(RoleGroup rolegroup);
	public boolean delete_RoleGroup(Integer id);
	public boolean update_RoleGroup(RoleGroup rolegroup);
	public RoleGroup getRoleGroupByName(String roleName);
	public RoleGroup getRoleGroupById(Integer id);
	public List<RoleGroup> Group_list();
	
	public List<Group_Menu> Group_MenuList(Integer groupId);
	public boolean delete_GroupMenu(Integer groupId);
	public boolean add_GroupMenu(List<Group_Menu> groupMenuList);
}
